feat(about): add the About page #164
Merged
+295
−7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add the About page
Closes #146
The About page was a placeholder. It now introduces the site, explains the sport for people who do not know gymnastics, and says where the data comes from.
What the page says
Choices
src/lib/codeOfPoints.tsholds the two links, so they are in one place.global.css:.about-pageis added to the two heading rules that the Elements and gymnasts pages use, so the headings look the same.Testing
src/tests/pages/AboutPage.test.tsx): title, one h1 and h2 for each part, sections named by their headings, the PDF link, the rights text, the trainers and login text, links, and that there are no buttons.tsc -b, ESLint and all 328 frontend tests pass.Not in this PR
global.csscan conflict a little with PR feat(gymnasts): add the gymnast page #163, which edits the same heading rules. Keep both sides.🤖 Generated with Claude Code